]> dgit.raspbian.org Git - gnome-shell.git/commit
screenShield: Always deactivate when interrupting idle before lock
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 14 Feb 2020 21:26:56 +0000 (22:26 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 17 Feb 2020 11:13:34 +0000 (11:13 +0000)
commit6f12864776ac6bdda8d4fa0aef48134605e93804
treeddfdab4f8454852999409947e9752a2377fe36d5
parent5934dc16d30f78809f3f03bc3c05dbd558be8b5b
screenShield: Always deactivate when interrupting idle before lock

With the old screen shield, we were simply hiding the lightboxes to show
the shield when the user became active after activating the shield but
before locking the screen (that is, when using a lock-delay).

However now that the shield is gone, we end up showing the unlock dialog
even though we are not actually locked.

We probably don't want to add back a shield-like mode (that is, a way to
raise the unlock dialog without authentication when we aren't locked),
so just deactivate the whole shield when the user becomes active again
before the lock kicks in.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2213
js/ui/screenShield.js